package cn.iocoder.yudao.module.artifact.controller.admin.info.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 文玩视频新增/修改 Request VO")
@Data
public class InfoVideoSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "19751")
    private Long id;

    @Schema(description = "文玩编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "21155")
    @NotNull(message = "文玩编号不能为空")
    private Long artifactId;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "双联壁视频1")
    @NotEmpty(message = "名称不能为空")
    private String name;

    @Schema(description = "视频路径", requiredMode = Schema.RequiredMode.REQUIRED, example = "/video/artifact1.mp4")
    @NotEmpty(message = "视频路径不能为空")
    private String videoPath;

}